var express = require('express');
var app = express();

const port = '8080';


app.use(express.static('dist'));

// 首页
app.get('/', function(req, res) {
    res.sendfile('./dist/page/index.html');
});
app.listen(port, function() {
    console.log(`server on http://localhost:${port}`);
})
